﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ScrollNews.ascx.cs" Inherits="VIT.Web.Modules.ScrollNews.ScrollNews" %>
<script src="<%=URLRoot %>Includes/sagscroller/sagscroller.js"></script>

<script type="text/javascript">
    var sagscroller = new sagscroller({
        id: 'mysagscroller',
        mode: 'auto',
        pause: 2500,
        animatespeed: 400 //<--no comma following last option
    })	
</script>

<div id="mysagscroller" class='sagscroller<%=height>0?"' style='Height:"+height+"px":"" %>'>
<ul>
<asp:Repeater ID="rpt" runat="server">
    <ItemTemplate>
        <li class="tintuc"><a href="<%#linkComponent("Article","NewsDetail","sId="+Eval("Id"))%>" style="display:block;" title="<%#Eval("Title") %>"><%#Eval("Title") %></a></li>
    </ItemTemplate>
</asp:Repeater>
</ul>
</div>

